home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
bbs_door
/
vfy_39.zip
/
4-LORA.ZIP
/
LORASEC.DOC
< prev
next >
Wrap
Text File
|
1995-12-26
|
6KB
|
168 lines
**************************************************************
* *
* LORASEC.EXE v1.0 *
* *
* LoraBBS User Security Level Adjustment Program *
* *
* Copyright (c) 1995 *
* Sagerquist Micro Engineering *
* *
* 1414 W. Kerrick Street *
* Lancaster, Ca. 93534 *
* Data BBS (805) 723-6908 *
* Internet E-Mail zs@qnet.com *
* WWW Page http://www.av.qnet.com/~zs/ *
* *
**************************************************************
DESCRIPTION
-----------
LORASEC.EXE adjusts a LoraBBS caller's security level when
returning from a DOOR. This action is useful when invoking
BBS Doors such as a Call Back Verification, a Questionnaire or
Opinion Poll, etc., where the caller is to be rewarded with a
security level adjustment upon successful completion.
SYNTAX
------
LORASEC [/L:(Line (task) Number in Hexadecimal)]
[/D:(Node Directory (location of LORAINFO.Txx - optional)]
[/S:(New Security Level from the chart)]
Note: The line (task) numbers are two characters, a hexadecimal
representation like the following numbers:
01 02 0A D5 6A
There are only 12 security level values. These 12 values
can be represented in two different ways each: Alpha and
Numeric. Choose either Alpha or Numeric from the chart:
TWIT 16
DISGRACE 32
LIMITED 48
NORMAL 64
WORTHY 80
PRIVIL 96
FAVORED 112
EXTRA 128
CLERK 144
ASSTSYSOP 160
*SYSOP 176 <--- Cannot be reached by an
*HIDDEN 192 <--- external program.
/D:... switch is optional. It will override the default
value: C:\LORABBS. If your LoraBBS system is set up on a
different drive or directory, use the command line switch
to override the default values.
EXAMPLES
--------
LORASEC /L:01 /S:100
LORASEC /L:1A /D:F:\LORABBS /S:NORMAL
LORASEC /L:BD /D:D:\LORABBS /S:128
LORASEC ?
SAMPLE TRAP DOOR BATCH FILE
---------------------------
@ECHO OFF
C:
CD C:\LORABBS\VERIFY!
VERIFY! /B:LORABBS /D:C:\LORABBS
rem ERRORLEVEL 0 and 1 means caller is verified.
rem ERRORLEVEL 0 == local call, successful verification
rem ERRORLEVEL 1 == long distance, successful verification
IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 goto ADJUST
goto END
:ADJUST
rem Adjust caller's security level to NORMAL
C:\LORABBS\LORASEC /L:01 /S:NORMAL
:END
CD C:\LORABBS
TECHNICAL
---------
LORASEC.EXE was designed to compliment VERIFY!.EXE, a BBS Call Back
Verify program, and both were originally intended for use in a DOOR.
When a LoraBBS DOOR launches, LoraBBS creates LORAINFO.Txx. It
contains the caller's information. If values are changed in this
file, the data in LoraBBS's databases are automatically updated.
LORASEC.EXE will change the data in LORAINFO.Txx to accomplish its
goals.
SHARE.EXE:
All files are opened in SHARE mode, allowing other applications
to access the files. The current user's record in USERS.BBS is
"locked" prior to changing any values which ensures other
applications cannot crash the system by trying to alter the same
area of the file. SHARE.EXE must be loaded for LORASEC to operate
on a multitasking system (multiple nodes). Without SHARE.EXE on
a multinode system, it is highly likely that LORASEC will fail when
accessing USERS.BBS. LORASEC will operate without SHARE.EXE on a
single node system.
On exit of LORASEC, ERRORLEVELs are returned. Your batch file can
check the ERRORLEVEL and determine what has happened. The following
is a list of LORASEC's ERRORLEVELs and their meaning:
ERRORLEVEL 0 Normal exit, adjustment successful.
ERRORLEVEL 10 Command line error.
ERRORLEVEL 40 Memory allocation error.
ERRORLEVEL 50 File open error.
ERRORLEVEL 60 File read error.
ERRORLEVEL 70 File write error.
The actual reason for the error is written to the screen.
Review your DOS manual for more information on ERRORLEVELs.
PROGRAMMING SERVICES
====================
LORASEC.EXE is a custom program, and performs exactly as requested.
Programming services are provided by Sagerquist Micro Engineering
by request. The points of contact are:
The SME Support BBS ----------> (805) 723-6908 28800 Baud
Internet E-Mail --------------> zs@qnet.com
Internet World Wide Web Page--> http://www.av.qnet.com/~zs/
Post Office "Snail Mail":
Sagerquist Micro Engineering
1414 W. Kerrick St.
Lancaster, CA 93534
If you have an idea for a program of any kind, please call!
DISCLAIMER
----------
This program is distributed as is. No warranty, either expressed or
implied is offered and the programmer is not responsible for any
damages or expenses that may occur through the use of this program.
The user shall determine its suitability. Extensive testing has been
performed and every effort has been made to ensure satisfactory
performance prior to release. Please communicate any difficulties
with the programmer through one of the contacts listed above. Any
problems received will be treated as a top priority.
CREDITS
-------
LoraBBS is copyrighted software by Marco Maccaferri.
BBS: 39-51-6331730 (2:332/402)
39-51-6331746 (2:332/422)
Internet: macca@arci01.bo.cnr.it
100421.1633@compuserve.com
CompuServe: 100421,1633
HISTORY
-------
Version 1.0 - 12/05/95
----------------------
First release. Remaining time adjustments removed for now.
Version 0.1 - 12/05/95
----------------------
First beta release, waiting for user input.